relocate `Using with CMake`
authorKevin Albertson <kevin.eric.albertson@gmail.com>
Fri, 7 Jun 2024 16:57:37 +0000 (12:57 -0400)
committerKevin Albertson <kevin.eric.albertson@gmail.com>
Fri, 7 Jun 2024 16:59:02 +0000 (12:59 -0400)
README.md

index 79a6aa25c889ee42d98a040fdc14f64c0520c8b0..1413871ed0d0223880e490f5acdaf0b3286ada45 100644 (file)
--- a/README.md
+++ b/README.md
@@ -42,16 +42,6 @@ cmake -S . -B build
 cmake --build build
 ```
 
-### Using with CMake
-
-A CMake Config-file package is provided. To use utf8proc in a CMake project:
-
-```cmake
-add_executable (app app.c)
-find_package (utf8proc 2.9.0 REQUIRED)
-target_link_libraries (app PRIVATE utf8proc::utf8proc)
-```
-
 ### Using other compilers
 The included `Makefile` supports GNU/Linux flavors and MacOS with `gcc`-like compilers; Windows users will typically use `cmake`.
 
@@ -63,6 +53,16 @@ gmake CC=/opt/aCC/bin/aCC CFLAGS="+O2" PICFLAG="+z" C99FLAG="-Ae" WCFLAGS="+w" L
 ```
 To run `gmake install` you will need GNU coreutils for the `install` command, and you may want to pass `prefix=/opt libdir=/opt/lib/hpux32` or similar to change the installation location.
 
+### Using with CMake
+
+A CMake Config-file package is provided. To use utf8proc in a CMake project:
+
+```cmake
+add_executable (app app.c)
+find_package (utf8proc 2.9.0 REQUIRED)
+target_link_libraries (app PRIVATE utf8proc::utf8proc)
+```
+
 ## General Information
 
 The C library is found in this directory after successful compilation